﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SearchInterface
{
    interface Callback
    {
        void error(String error);

        void addSearch(int searchid, hydrap2p.search.SearchQuery query, List<String> providers);
        void delSearch(int searchid);

        void addSearchResult(int searchid, hydrap2p.search.SearchResult result);

        void searchFinished(int searchid);
        void searchProviderFinished(int searchid, String providername);
    }
}
